home *** CD-ROM | disk | FTP | other *** search
- on openNotes
- global gNotesWindow
- if objectp(gNotesWindow) then
- alert("Notes is already open!")
- else
- set horzOrigin to the stageLeft + 50
- set vertOrigin to the stageTop + 40
- set myNotesWindowRect to rect(horzOrigin, vertOrigin, horzOrigin + 320, vertOrigin + 200)
- set gNotesWindow to window "notesMovie"
- set the rect of gNotesWindow to myNotesWindowRect
- set the fileName of gNotesWindow to "notes.dir"
- set the windowType of gNotesWindow to 4
- set the titleVisible of gNotesWindow to 1
- set the title of gNotesWindow to "Notes"
- open(gNotesWindow)
- end if
- end
-